//
//  FirstViewController.h
//  SITABLE
//
//  Created by songjun on 16/9/9.
//  Copyright © 2016年 Sita. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LinBoardMacro.h"
#import "FindBikeViewController.h"
#import "ScanBleViewController.h"
#import "BodaoLoc.h"
@interface FirstViewController : UIViewController<AMapLocationManagerDelegate,MAMapViewDelegate,UIAlertViewDelegate>
{
    
    IBOutlet MAMapView *baseMapview;
     AMapLocationManager *locationManager;
     MAPointAnnotation *mySelfAnnotation;//当前位置
    
    MAPointAnnotation *carAnnotation;//车的位置
    
    IBOutlet UIButton *enginPowerBtn;//一键启动
    
    IBOutlet UIButton *lockBtn;
    
    IBOutlet UIButton *findBikeBtn;
    
    IBOutlet UIView *botomeView;
    
    
    IBOutlet UIButton *locateBtn;
    
    BabyBluetooth *baby;
    
    CBPeripheral *myPeripheral;
    CBCharacteristic *myCharactertistic;
    
    NSTimer *getBlePwdTimer; //连上后1秒获取一下蓝牙密码
    NSTimer *refreshBodaoLocTimer; //定时刷新车辆位置
}
- (IBAction)enginPowerBtnAciton:(UIButton *)sender;

- (IBAction)lockBikeBtnAciton:(UIButton *)sender;

- (IBAction)findBikeBtnAction:(UIButton *)sender;
- (IBAction)locateBtnAction:(UIButton *)sender;
- (IBAction)locateAciton:(UIButton *)sender;






@end
